<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <!-- 引入css文件 -->
    <link rel="stylesheet" href="/assets/css/login.css" />
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css" />
    <!-- 引入js文件 -->
    <script src="/assets/lib/jquery.js"></script>
    <script src="/assets/lib/layui/layui.all.js"></script>
    <script src="/assets/js/login.js"></script>
</head>

<body>
    <!-- 图标 -->
    <div class="logo">
        <img src="/assets/images/logo.png" alt="" />
    </div>
    <!-- 登录框 -->
    <div class="login">
        <div class="title">
            <img class="title-img" src="/assets/images/login_title.png" alt="" />
        </div>
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input" />
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input" />
            </div>
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">
            立即提交
          </button>
            </div>
        </form>

        <div class="layui-form-item go-reglink">
            <a href="javascript:;">去注册账号</a>
        </div>
    </div>
    <!-- 注册框 -->
    <div class="reglink">
        <div class="title">
            <img class="title-img" src="/assets/images/login_title.png" alt="" />
        </div>
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input" />
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" required lay-verify="required|len|same" placeholder="请输入密码" autocomplete="off" class="layui-input" />
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" id="reg-password" required lay-verify="required" placeholder="再次确认密码" autocomplete="off" class="layui-input" />
            </div>
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">
            立即提交
          </button>
            </div>
        </form>

        <div class="layui-form-item go-login">
            <a href="javascript:;">已有账号，去登陆</a>
        </div>
    </div>
</body>

</html>